package com.health.system.javacommon.jquery;

import java.util.ArrayList;
import java.util.List;


public class ListRange<T> {
	private int rows;//每页行数
	private int records;//总数
	private int page;//第几页
	private long total;//总页数
	private List<T> dataRows;//数据

	public ListRange() {
		this.rows = 1;
		this.records = 1;
		this.page = 1;
		this.total = 0;
		this.dataRows = new ArrayList<T>();
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public List<T> getDataRows() {
		return dataRows;
	}

	public void setDataRows(List<T> dataRows) {
		this.dataRows = dataRows;
	}

	public int getRecords() {
		return records;
	}

	public void setRecords(int records) {
		this.records = records;
	}

	
}
